package com.mightykiwi.main;
import java.util.List;

import com.mightykiwi.beans.Contact;
import com.mightykiwi.beans.UserMK;
import com.mightykiwi.controllers.ContactsController;


public class TestMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//		User user = new User();
		String userName = "100001094383941";
		String userToken = "AAADqjFO4mXUBAGklgFKVtZCvxO4ux7Hy81WbdoZBsvZCw9nlcprnR1KJXWiv0aJTV7uy7PZCxJlYYk3QEMPqWoT9n5gWikKahcprF4qebgZDZD";
		UserMK user = new UserMK();
		user.setAccess_token(userToken);
		List<Contact> list = ContactsController.getInstance().getContacts(user);


		//		FacebookClient fbClient = new DefaultFacebookClient(userToken);
		//
		//		user = fbClient.fetchObject(userName, User.class);
		//		if(user != null)
		//			System.out.println(user.getFirstName());
		//
		//
		//		JsonObject likesConnection = fbClient.fetchObject(userName + "/likes", JsonObject.class);
		//		if(likesConnection != null)
		//			System.out.println(likesConnection.toString());

	}

}
